package com.whpost.service.entity.t;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
@TableName("T_CZY")
@KeySequence("SEQ_T_CZY")
public class TCzy {

    @TableId("ID")
    private Long id;

    @TableField("DLMC")
    private String dlmc;

    @TableField("NAME")
    private String name;

    @TableField("ZJM")
    private String zjm;

    @TableField("ROLE_ID")
    private Long roleId;

    @TableField("XZJG_ID")
    private Long xzjgId;

    @TableField("PWD")
    private String pwd;

    @TableField("STATE")
    private String state;

    @TableField("MEMO")
    private String memo;

    @TableField("HEADIMG")
    private String headimg;

    @TableField("T_CZY_ID")
    private Long tCzyId;

    @TableField("add_rq")
    private Date addRq;

    //该属性不为数据库表字段，但又是必须使用的
    @TableField(exist = false)
    private TRole tRole;

    //该属性不为数据库表字段，但又是必须使用的
    @TableField(exist = false)
    private TXzjg tXzjg;

    @TableField("aeskey")
    private String aeskey;

    @TableField("aesiv")
    private String aesiv;

}